<% form_remote_tag :id => "download_all", :loading => "$('archive_linker').hide;$('send_message').value = 'Creating CSV file...';$('send_message').disable();$('csv_download_spinner').show();", :loaded => "$('send_message').value = 'Download all';$('csv_download_spinner').hide();", :url => { :action => "download_all_variables"} do -%>


  <%#*<img alt="spinner" id="spinner2" src="/images/spinner.gif" style="display:none;vertical-align:middle;" />%>
  <%= submit_tag('Download all', :name=>'send_message_button', :id=>"send_message") -%>
<% end -%>